import { createStore, applyMiddleware } from "redux";
import count_reducer from "./reducers/count_reducer";
import person_reducer from "./reducers/person_reducer";
import { combineReducers } from "redux";
import { composeWithDevTools } from "redux-devtools-extension";
import thunk from "redux-thunk";
const AllReducer = combineReducers({
  count: count_reducer,
  person: person_reducer,
})
const store = createStore(AllReducer, composeWithDevTools(applyMiddleware(thunk)));
export default store;




 